package Bk.Expression;


public class Ex33Retrangle {
	
	public static void main(String[] args) {

	Ex33RetangleServiceImpl RSImpl = new Ex33RetangleServiceImpl();
	
	Ex33Length RS = new Ex33Length( 9.5, 4, "white" );
	
	RS.setArea(RSImpl.getArea(RS));
	RS.setRound(RSImpl.getRound(RS));
		
	
	System.out.println( RS.toString());
	}

}

interface Ex33RetangleService {
	
	double getArea ( Ex33Length RS );
	double getRound ( Ex33Length RS );
		
}

	
